package com.yingsheng.bi.hks.feign.client;

import com.yingsheng.bi.hks.basic.FeignConst;
import com.yingsheng.bi.hks.dto.Stores.*;
import com.yingsheng.bi.hks.dto.storedetail.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 门店管理
 * 门店是线下实体店铺
 */
@FeignClient(contextId = FeignConst.HKS_STORES, name = FeignConst.SERVICE_NAME)
@Api(tags = "门店管理", value = "门店管理")
public interface StoresFeignClient {

    @ApiOperation(httpMethod = "POST",value = " 门店信息新增")
    @RequestMapping(value = "/storesMgmt/storesAdd")
    StoresAddRes add(@RequestBody StoresAddReq req);

    @ApiOperation(httpMethod = "POST",value = " 门店信息修改")
    @RequestMapping(value = "/storesMgmt/storesMod")
    StoresModRes mod(@RequestBody StoresModReq req);

    @ApiOperation(httpMethod = "POST",value = "门店信息查询")
    @RequestMapping(value = "/storesMgmt/storesQry")
    StoresQryRes qry(@RequestBody StoresQryReq req);

    @ApiOperation(httpMethod = "POST",value = " 门店信息删除")
    @RequestMapping(value = "/storesMgmt/storesDel")
    StoresDelRes del(@RequestBody StoresDelReq req);

    @ApiOperation(httpMethod = "POST",value = " 门店详情信息新增")
    @RequestMapping(value = "/storesDetailMgmt/storesDetailAdd")
    StoresDetailAddRes add(@RequestBody StoresDetailAddReq req);

    @ApiOperation(httpMethod = "POST",value = " 门店详情信息修改")
    @RequestMapping(value = "/storesDetailMgmt/storesDetailMod")
    StoresDetailModRes mod(@RequestBody StoresDetailModReq req);

    @ApiOperation(httpMethod = "POST",value = "门店详情信息查询")
    @RequestMapping(value = "/storesDetailMgmt/storesDetailQry")
    StoresDetailQryRes qry(@RequestBody StoresDetailQryReq req);

    @ApiOperation(httpMethod = "POST",value = " 门店详情信息删除")
    @RequestMapping(value = "/storesDetailMgmt/storesDetailDel")
    StoresDetailDelRes del(@RequestBody StoresDetailDelReq req);

}
